package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Purchase;
import com.java2207.group1.vo.Breakfast.BarVo;
import com.java2207.group1.vo.Breakfast.PieVo;

import java.util.List;
import java.util.Map;

public interface PurchaseMapper {
    int addPurchase(Purchase purchase);

    int deletePurchase(Integer id);

    int updatePurchase(Purchase purchase);

    List<Purchase> selectByExample(Map<String, Object> params);

    List<BarVo> meatBarData();

    List<PieVo> meatPieData();
}
